package com.drug.domain;


import lombok.Data;

import java.util.Date;
@Data
public class User {
    private Integer uId;

    private String uName;

    private String uPassword;

    private String uAdress;

    private String uPhone;

    private String uEmail;

    private String uContacts;

    private String uPostalcode;

    private String uCompany;

    private Date uCreateTime;

    private Integer uIsdel;

    private String uState;

    private UserRole userRole;

    private Role role;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuAdress() {
        return uAdress;
    }

    public void setuAdress(String uAdress) {
        this.uAdress = uAdress;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public String getuContacts() {
        return uContacts;
    }

    public void setuContacts(String uContacts) {
        this.uContacts = uContacts;
    }

    public String getuPostalcode() {
        return uPostalcode;
    }

    public void setuPostalcode(String uPostalcode) {
        this.uPostalcode = uPostalcode;
    }

    public String getuCompany() {
        return uCompany;
    }

    public void setuCompany(String uCompany) {
        this.uCompany = uCompany;
    }

    public Date getuCreateTime() {
        return uCreateTime;
    }

    public void setuCreateTime(Date uCreateTime) {
        this.uCreateTime = uCreateTime;
    }

    public Integer getuIsdel() {
        return uIsdel;
    }

    public void setuIsdel(Integer uIsdel) {
        this.uIsdel = uIsdel;
    }

    public String getuState() {
        return uState;
    }

    public void setuState(String uState) {
        this.uState = uState;
    }

    public UserRole getUserRole() {
        return userRole;
    }

    public void setUserRole(UserRole userRole) {
        this.userRole = userRole;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }
}